GNUPro Toolkit Documentation|Index|Next
GNU C++ Iostream Library

Copyright © 1993-1997 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions.
libio includes software developed by the University of California, Berkeley.
libio uses floating-point software, written by David M. Gay, which includes the following notice.

The author of this software is David M. Gay.
Copyright © 1991 by AT&T.
Permission to use, copy, modify, and distribute this software for any purpose without fee is hereby granted, provided that this entire notice is included in all copies of any software which is or includes a copy or modification of this software and in all copies of the supporting documentation for such software.
THIS SOFTWARE IS BEING PROVIDED “AS IS,” WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.

This document was written by: Per Bothner (bothner@cygnus.com) and Roland Pesch.
This documentation has been prepared by Cygnus Technical Publications; to contact the Cygnus Technical Publications staff, email: doc@cygnus.com.
Copyright © 1993-1997 Cygnus. All rights reserved.
GNUPro™, the GNUPro™logo, and the Cygnus logo are trademarks of Cygnus. All other brand and product names are trademarks of their respective owners.

The following documentation discusses the GNU C++ Iostreams library, libio.

- Introduction to Iostreams

- Licensing terms for libio
- Acknowledgments

- Operastors and default streams
- Stream classes

- Shared properties: class ios

- Checking the state of a stream
- Choices in formatting
- Changing stream properties using manipulators
- Extended data fields
- Synchronizing related streams
- Reaching the underlying streambuf

- Managing output streams: class ostream

- Writing on an ostream
- Repositioning an ostream
- Miscellaneous ostream utilities

- Managing input streams: class istream

- Reading one character
- Reading strings
- Repositioning an istream
- Miscellaneous istream utilities

- Input and output together: class iostream

- Classes for files and strings

- Reading and writing files
- Reading and writing in memory

- Using the streambuf layer

- Areas of a streambuf
- Simple output re-direction by redefining overflow
- C-style formatting for streambuf objects
- Wrappers for C stdio
- Reading/writing from/to a pipe
- Backing up
- Forwarding I/O activity

- C input and output
- Index

Top|Index